package com.baosight.risk.service.riri.entity;

import com.baosight.risk.base.entity.BaseEntity;
import com.baosight.risk.common.annotation.Excel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.List;

@Data
@Table(name = "T_RIRI_IMP_RISK")
public class RiriImpRisk extends BaseEntity {

    @Column(name = "RISK_NAME")
    @Excel(name = "经营风险事件名称")
    private String riskName;

    @Column(name = "RISK_TYPE")
    private String riskType;

    @Column(name = "RISK_TYPE_NAME")
    @Excel(name = "事件类别")
    private String riskTypeName;

    @Column(name = "RISK_LEVEL")
    private String riskLevel;

    @Column(name = "RISK_LEVEL_NAME")
    @Excel(name = "风险等级")
    private String riskLevelName;

    @Column(name = "RISK_PHASE")
    private String riskPhase;

    @Column(name = "RISK_PHASE_NAME")
    @Excel(name = "事件状态")
    private String riskPhaseName;

    @Column(name = "EFFECT_AMOUNT")
    @Excel(name = "影响（或有损失金额，单位：万人民币）")
    private BigDecimal effectAmount;

    @Column(name = "COMP_RANGE")
    @Excel(name = "涉及范围（事件发生及处置涉及单位）")
    private String compRange;

    @Column(name = "BACKGROUND")
    @Excel(name = "事件背景")
    private String background;

    @Column(name = "EFFECT_DESC")
    @Excel(name = "事件经过及可能造成的影响和损失")
    private String effectDesc;

    @Column(name = "RE_PLAN")
    @Excel(name = "事件发生后已采取的举措")
    private String rePlan;

    @Column(name = "COORDINATE_DESC")
    @Excel(name = "需上级协调事项")
    private String coordinateDesc;

    @Column(name = "ACCT_YEAR")
    @Excel(name = "年度")
    private String acctYear;

    @Column(name = "QUARTER_CURRENT")
    @Excel(name = "季度")
    private String quarterCurrent;

    @Column(name = "STATUS")
    private String status;

    @Column(name = "STATUS_NAME")
    private String statusName;

    @Column(name = "COMP_CODE")
    private String compCode;

    @Column(name = "COMP_NAME")
    private String compName;

    @Column(name = "DEPT_CODE")
    private String deptCode;

    @Column(name = "DEPT_NAME")
    @Excel(name = "所属单位")
    private String deptName;



    @Column(name = "ADMIN_FLAG")
    private String adminFlag;

    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;

    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;

    @Column(name = "REMARK")
    @Excel(name = "备注")
    private String remark;

    @Column(name = "ROW_ORDER")
    private String rowOrder;


    /**
     * 公司ID集合
     */
    private List<String> compIdList;

    /**
     * 需要导出的字段列表
     */
    private List<String> columNameList;

    private String deleteFlag;

    private static final long serialVersionUID = 1L;
}
